package com.yuantutech.pay.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.yuantutech.pay.model.Patient;
import com.yuantutech.pay.service.HospitalService;

public class HospitalServiceImpl implements HospitalService {

	@Override
	public List<Patient> getPatientListByHospitalId(String hospitalId) {
		// TODO 这里仅为测试代码 模拟连接数据库

		List<Patient> list = new ArrayList<Patient>();
		if (hospitalId != null) {
			Patient patient = new Patient();
			patient.setPatientId("ZD-201701100001");
			patient.setPatientName("图图");
			list.add(patient);

			return list;
		}
		return null;
	}

	@Override
	public List<Patient> getPatientListByHospitalName(String hospitalName) {
		// TODO 测试使用
		return null;
	}

}
